package com.dgut.service.impl;

import com.dgut.dao.HousingDao;
import com.dgut.model.Housing;
import com.dgut.service.HousingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author GooRay
 * 创建于 2020/6/21
 */
@Service
public class HousingServiceImpl implements HousingService {

    @Autowired
    private HousingDao housingDao;

    @Override
    public Housing findByUserId(Integer user_id) {
        return housingDao.findByUserID(user_id);
    }
}
